﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.ModelForJD
{
    /// <summary>
    /// 可售验证类
    /// </summary>
    public class GoodsCheckForJD
    {
        /// <summary>
        /// 返回标识
        /// </summary>
        public bool success { get; set; }
        /// <summary>
        /// 返回描述
        /// </summary>
        public string resultMessage { get; set; }
        /// <summary>
        /// 返回编码
        /// </summary>
        public string resultCode { get; set; }
        /// <summary>
        /// 可售商品验证详情集合
        /// </summary>
        public List<GoodsCheckDetailsForJD> result { get; set; }
    }
    /// <summary>
    /// 可售商品验证详情
    /// </summary>
    public class GoodsCheckDetailsForJD
    {
        /// <summary>
        /// 商品编号
        /// </summary>
        public string skuId { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 是否可售，1：是，0：否
        /// </summary>
        public int saleState { get; set; }
        /// <summary>
        /// 是否可开增票，1：支持，0：不支持
        /// </summary>
        public int isCanVAT { get; set; }
        /// <summary>
        /// 是否支持7天无理由退货，1：是，0：否
        /// </summary>
        public int is7ToReturn { get; set; }
    }
}
